from django.urls import re_path
from . import views

urlpatterns = [
    #获取,创建,上下架池子
    re_path(r"^game(/)?$", views.Game.as_view()),
    #池子详情,修改池子
    re_path(r"^gamedetail(/)?$", views.GameDetail.as_view()),
    #小程序用户报名
    re_path(r"^userenroll(/)?$", views.UserEnroll.as_view()),
    #池子里加入赏品
    re_path(r"^gamegood(/)?$",views.GameGood.as_view()),
    #赏品修改和详情
    re_path(r"^gamegooddetail(/)?$",views.GameGoodDetail.as_view()),
    #池子获取中奖记录
    re_path(r"^gamerecoder(/)?$",views.GameRecoderCommit.as_view()),
    #获取参与人
    re_path(r"^gameenroll(/)?$",views.GameUserEnrollRecoder.as_view()),
    #小程序获取中奖记录
    re_path(r"^xcxrecoder(/)?$",views.XcxUserRecoder.as_view()),
    #福利屋开奖
    re_path(r"^fuliwuopen(/)?$",views.FuliwuOpen.as_view()),
    #小程序获取池子详情
    re_path(r"^xcxgamedetail(/)?$",views.XcxGameDetail.as_view())
]
